<template>
  <div>
    <div class="xm">
      <img src="@/assets/xm.png" alt="" srcset="" />
    </div>
    <div class="main">
      <el-button style="width: 100%" type="warning" @click="jump">大事件</el-button >
    </div>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState(["token"]),
  },
  created() {
    // if(!this.token.length>0){
    //     this.$router.push("/login")
    // }
  },
  methods: {
    jump() {
      this.$router.push("/memorabilia");
    },
  },
};
</script>

<style>
.xm {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>